<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

#tab1:target, #tab2:target, #tab3:target{

color: blue;

}
    </style>
</head>

<body>
    <div class="tablist">
        <ul class="tabmenu">
        <li>
        <a href="#tab1">标签一</a>
        </li>
        <li>
        <a href="#tab2">标签二</a>
        </li>
        <li>
        <a href="#tab3">标签三</a>
        </li>
        </ul>
    </div>
        <div id="tab1" class="tab_content">tab1 content</div>
        <div id="tab2" class="tab_content">tab2 content</div>
        <div id="tab3" class="tab_content">tab3 content</div>
     
       <input type="text" name="" id="">
          <input type="submit" onclick="onclick">
   

</body>

</html>